<form method="post" id="editUserRoleForm" name="editForm">
<input type="hidden" name="user_id" value="${(user_id)!}" id="user_id">
<table class="tableForm tableCss">
    <#list record as rec>
        <tr>
            <th><input type="checkbox"  class="checkbox" name="role" value="${(rec.id)!}"  <#if (rec.checked>0)>checked=checked</#if> /></th>
            <td>

                ${(rec.name)!}
            </td>
        </tr>
    </#list>
</table>
</form>